.tab_bar {
    .tab {
        font-size: 32rpx;
        font-family: PingFang SC;
        font-weight: 500;
        color: #666666;
        margin-right: 30rpx;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;

        &:after {
            width: 72rpx;
            height: 12rpx;
            background: $main_color;
            border-radius: 6rpx;
            content: "";
            display: block;
            position: absolute;
            bottom: 5rpx;
            z-index: -1;
            opacity: 0;
        }

        &.cur {
            font-size: 34rpx;
            font-family: PingFang SC;
            font-weight: bold;
            color: #121212;

            &::after {
                opacity: 1;
            }
        }
    }
}

.article_box {}

.article {
    width: 690rpx;
    // height: 529rpx;
    background: #FFFFFF;
    border-radius: 20rpx;
    margin-top: 25rpx;
    position: relative;

    .avatar {
        width: 80rpx;
        height: 80rpx;
        border-radius: 50%;
    }

    .nickname {
        font-size: 32rpx;
        font-family: PingFang SC;
        font-weight: bold;
        color: #141414;
        margin-left: 20rpx;
    }

    .date {
        font-size: 26rpx;
        font-family: PingFang SC;
        font-weight: 400;
        color: #999999;
        margin-left: auto;
    }

    .content {
        font-size: 30rpx;
        font-family: PingFang SC;
        font-weight: 400;
        color: #141414;
    }

    .imgs {
        flex-flow: wrap;

        .img {
            height: 180rpx;
            width: 31%;
            margin-right: 10rpx;
            margin-top: 10rpx;
            border-radius: 10rpx;

            &.num1,
            &.num2 {
                height: 400rpx;
            }

            &:nth-last-child(1) {
                margin: right 0px;
            }
        }
    }

    .class_name {
        padding: 5rpx 20rpx;
        background: #FAF1F1;
        border-radius: 24rpx;
        font-size: 24rpx;
        font-family: PingFang SC;
        font-weight: 500;
        color: $main_color;
        display: inline-block;
    }

    .view>.icon {
        width: 44rpx;
        height: 33rpx;
    }

    .comment>.icon {
        width: 34rpx;
        height: 34rpx;
    }

    .love>.icon {
        width: 37rpx;
        height: 34rpx;
    }

    .comment,
    .view,
    .love {
        font-size: 26rpx;
        font-family: PingFang SC;
        font-weight: 400;
        color: $main_color;
        margin-left: 30rpx;
        margin-right: 30rpx;
        display: flex;
        align-items: center;
        filter: grayscale(199);

        .icon {
            margin-right: 10rpx;

        }

        &.cur {
            filter: grayscale(0);


        }
    }

    .view {
        margin-left: auto;
    }
}

.top {
    width: 99rpx;
    height: 77rpx;
    margin-left: 30rpx;

}